package com.hyl.icon.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hyl.icon.model.dto.message.MessageAddRequest;
import com.hyl.icon.model.entity.Message;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 用户服务
 *
 * @author <a href="https://github.com/liyupi">程序员鱼皮</a>
 * @from <a href="https://yupi.icu">编程导航知识星球</a>
 */
public interface MessageService extends IService<Message> {


    Map<Long, List<Message>> getSendMessages(Long userId);

    Map<Long, List<Message>> getReceiveMessages(Long userId);


    Boolean sendMessage(Message message);
}
